<?php
//$fp = fopen("a.txt","a+");
////$file = fread($fp,2);
////echo $file;
////
////echo "<hr/>";
////$fc2 = fopen("abc.txt","a+") or die("文件打开异常");
////while (!feof($fc2)){
////    echo fread($fc2,"3");
////}
//fclose("abc.txt");

//unlink("a.txt");
//$content = "本";
//echo "开始";
//$start = time();
//$fc = fopen("abc.txt","w+");
////for ($a = 0;$a<1000;$a++){
////    fwrite($fc,$content);
////}
//fclose($fc);
//$end = time();
//echo "总耗时".($end - $start)."秒";


//$time  = time();
//$time = date("Y/m/d");
//$timeY = date("Y");
//$timem = date("m");
//$timed = date("d");
//echo $time;
//$dirname = "./$timeY/$timem/$timed/";
//if (!is_dir($dirname)){
//    mkdir($dirname,0777,true);
//}
//$filename = $dirname."a.txt";
//fopen($filename,"a+");


$name = date("Y/m/d");
mkdir("./$name/",0777,true);

